package edu.gyu.myshop.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ls
 * @since 2024-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Cart implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer myuserId;

    private Integer goodsId;

    private Integer shoppingnum;

    @TableField(exist = false)
    private double priceSum;

    @TableField(exist = false)
    private String  goodsPic;

    @TableField(exist = false)
    private double  goodsPrice;

    @TableField(exist = false)
    private String  goodsName;

}
